package com.tencent.wxcloudrun.dao;

import com.tencent.wxcloudrun.model.MyGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MyGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MyGoods record);

    int insertSelective(MyGoods record);

    MyGoods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MyGoods record);

    int updateByPrimaryKey(MyGoods record);

    int batchInsert(@Param("list") List<MyGoods> list);

    List<MyGoods> findAll();


}